html {
    height: 100%;
}
body {
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	height: 100%;
}
body.loginpage{
	background: #96aaab url(images/bg.jpg) 50% 50% no-repeat;
}
#page{
	height: auto;
	min-height: 100%;
	position: relative;
}

#header
{
	height: 56px;
	padding: 0px 30px;
	background: url('images/header.png') repeat-x;
	min-width: 900px;
	color: white;
}
#header.fixed{
	height: 130px;
}
#logo
{
	padding: 10px 20px;
	font-size: 200%;
}
#logo a {
	color: #f1f1f1;
	text-decoration: none;
}

#mainmenu
{
	position: relative;
	z-index: 2;
	height: 34px;
	clear: both;
	/*padding: 0px 30px;*/
	min-width: 900px;
	background: #000;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #050505),
		color-stop(1, #111)
	);
	-moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
	-webkit-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
	-o-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
	box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
}
#mainmenu.fixed{
	position: fixed;
	width: 100%;
	top:0;
}
#mainmenu ul
{
	display: block;
	margin: 0;
	overflow: hidden;
}

#mainmenu ul li
{
	float: left;
	list-style: none;
}
#mainmenu ul li:last-child{
	float: right;
}
#mainmenu > ul > li + li {
	background: url('images/split.png') center left no-repeat;
}
#mainmenu ul li a
{
	padding: 10px 15px 9px 17px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: white;
	text-align: center;
	display: block;
	text-decoration: none;
}

#mainmenu ul li.active a
{
	/*background: url('images/selected.png') repeat-x;*/
	color: white;
	background-image: -webkit-gradient( 
		linear, 
		left top, 
		left bottom, 
		color-stop(0, rgb(10,10,10)), 
		color-stop(1, rgb(56,65,76)) 
	);
}
#mainmenu ul li:hover ul
{
	display:block
}
#mainmenu ul li ul {
	display:none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: url('images/transparent.png');
	position: absolute;
}
#mainmenu ul li ul li:last-child{
	float: none;
}
#mainmenu ul li ul li{
	float: none;
	text-align:left;
}
#mainmenu ul li ul li a{
	text-align:left;
	width: 150px;
	padding: 5px 10px;
}
#mainmenu ul li:hover ul li a, #mainmenu ul li.active ul li a, #mainmenu ul li ul li a {
	background: transparent;
}
#mainmenu ul li ul li:hover, #mainmenu ul li ul li.active {
	background: #333;
}

/* main menu end*/
/* bread start */
.bread{
	background: white url('images/background.png') 0px 1px repeat-x;
	padding: 10px 30px 0px 
}
/* bread end */
/* footer start */
#footer{
	background: white url('images/footer.png') repeat-x;
	height: 55px;
	padding-top: 38px;
	text-align: center;
	font-size: 12px;
	color: #333;
	position: relative;
	margin-left: ;
	clear: both;
/*
	-moz-box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	-webkit-box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	-o-box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	box-shadow: inset 2px 0px 2px rgba(0,0,0,0.8);
	*/
	clear: both;
	margin: -93px auto 0 194px;
	position: relative;
	z-index: 10;
}
#clearfooter {
clear: both;
height: 90px;
position: relative;
z-index: 10;
margin-left: 300px;
}
/* footer end */
#sidebar
{
	position: fixed;
	float: left;
	width: 190px;
	margin-top: 10px;
	background: #515151;
	min-height: 100%;
	-moz-box-shadow: 2px 0px 2px rgba(0,0,0,0.8);
	-webkit-box-shadow: 2px 0px 2px rgba(0,0,0,0.8);
	-o-box-shadow: 2px 0px 2px rgba(0,0,0,0.8);
	box-shadow: 2px 0px 2px rgba(0,0,0,0.8); 
	z-index: 1;
}
	#sidebar .showHideSidebar{
		position: absolute;
		top: 50%;
		margin-top:-50px;
		right: -6px;
		height: 50px;
		width: 10px;
		background: repeating-linear-gradient(0deg,#999,#999 3px,#333 5px,#333 7px);
		-moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
		-webkit-box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.8);
		-o-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
		box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.8);
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		cursor: pointer;
	}
	#left-menu {
		position: relative;
		margin: 0;
		padding: 0;
		margin-top: 40px;
	}
		#left-menu li {
			position: relative;
			display: block;
			/*background: #aaa;*/
			/*border: 1px solid black;*/
			list-style-type: none;
			border-top: 1px solid rgba(0,0,0,0.1);
		}
		#left-menu > li {
			padding: 0 10px 0 10px;
		}
		#left-menu li:last-child {
			border-bottom: 1px solid rgba(0,0,0,0.1);
		}
			#left-menu li a {
				color: #fff;
				text-decoration: none;
				padding:10px 0 10px 0;
				display: block;
				overflow: hidden;
			}
			#left-menu > li > a {
				padding-left: 30px;
				height: 16px;
				white-space: nowrap;
			}
				#menu-icon-home{background: url(images/icons/home.png) no-repeat left center; }			
				#menu-icon-users{background: url(images/icons/users.png) no-repeat left center; }			
				#menu-icon-menu{background: url(images/icons/menu.png) no-repeat left center; }			
				#menu-icon-translation{background: url(images/icons/translation.png) no-repeat left center; }			
				#menu-icon-manager{background: url(images/icons/manager.png) no-repeat left center; }			
				#menu-icon-gallery{background: url(images/icons/images.png) no-repeat left center; }			
				#menu-icon-videos{background: url(images/icons/video.png) no-repeat left center; }			
				#menu-icon-modules{background: url(images/icons/module.png) no-repeat left center; }			
				#menu-icon-content{background: url(images/icons/content.png) no-repeat left center; }			
			#left-menu li.active{
				background: #333;
				box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
			}
			#left-menu li.hover{
				background: #444;
				box-shadow: inset 0 2px 2px rgba(0,0,0,0.1);
			}
				#left-menu li.active a{
					color: #fff;
				}
			#left-menu li ul {
				position: absolute;
				top: 0;
				left: 190px;
					margin-left: -4px;
				padding: 0;
				/*width: 100px;*/
				color: #fff;
				z-index: 10;
				-moz-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
				-webkit-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
				-o-box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
				box-shadow: 0px 3px 2px rgba(0,0,0,0.8);
			}
				#left-menu li ul li{
					width: 140px;
					text-align: center;
					background: #555;
				}
				#left-menu li ul li:last-child{
					
				}
	#sidebar .hidden {
		display: none;
	}
/* END Sidebar*/
#content {
	margin-left: 190px;
    padding: 48px 20px 20px;
	background: #fff;
 	
}
#content .form{padding: 15px 24px;}
#content .form .row{border-bottom:1px dotted #CECECE;overflow: hidden;padding-bottom: 5px;margin-top:5px;}
#content .form .row label{width:200px;}
#content .form .row .field, #content .form .row .redactor_box, #content .form .row .cke_browser_webkit{float:left;}
#content .form .row .redactor_box, #content .form .row .cke_browser_webkit{width: 70%;}
#content .form .row input, #content .form .row textarea{width:500px;}
#content .form .row .btn{width:auto;}
#content .form .row select{width:512px;}

#content ul.yiiPager a:link, ul.yiiPager a:visited {
	border: solid 1px #d91f21;
	font-weight: bold;
	color: #d91f21;
	padding: 1px 6px;
	text-decoration: none;
	-webkit-border-radius: 10px 10px 10px 10px;
	-moz-border-radius: 10px 10px 10px 10px;
	-khtml-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}
#content ul.yiiPager .selected a {
	background: #d91f21;
	color: white;
	font-weight: bold;
}
/* buttons start */
#buttons{
	/*float:right;*/
	position: fixed;
	top: 62px;
	right: 33px;
	height: 33px;
}
#buttons .portlet-content{
	margin: 0;
	padding: 0;
}
#buttons ul{
	/*overflow: hidden;*/
}
#buttons li{
	float:left;
}
#buttons li a{
	border: 1px solid #333;
	font-weight:normal;
	cursor: pointer;
	text-decoration: none;
	color: white;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	margin: 0 2px;
	background: rgb(56,65,76);
	-webkit-transform: translate(0,-1px);
    -moz-transform: translate(0,-1px); 
    -o-transform: translate(0,-1px);
	-webkit-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	-moz-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	box-shadow:
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	
}
#buttons li.saveForm a{
	background: #686868;
}
#buttons li a:hover{
	-webkit-transform: translate(0,0px);
    -moz-transform: translate(0,0px); 
    -o-transform: translate(0,0px);
	-webkit-box-shadow: 
		0 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 
		0 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow:
		0 2px 2px rgba(0, 0, 0, 0.3);
}
#buttons li a:active{
	-webkit-box-shadow: 
		inset 0 2px 2px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 
		inset 0 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow:
		inset 0 2px 2px rgba(0, 0, 0, 0.3);
}
#buttons.fixed {
	position: fixed;
	top: 36px;
	right: 10px;
}
/* buttons end */

/* table start */
.wrapper_content{
	margin-top: 6px;
	border: 1px solid #ddd;
	-webkit-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow:
		0 15px 10px -10px rgba(0, 0, 0, 0.5),
		0 1px 4px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.wrapper_content .el-finder{
	margin:20px;
	width:auto;
}
#content .wrapper_content h1{
		font-size: 20px;
		margin-bottom: 15px;
		line-height: 29px;
		margin: 0;
		padding: 7px 20px;
		border-bottom: 1px solid #ddd;
		background-image: -webkit-gradient(
			linear,
			left top,
			left bottom,
			color-stop(0.5, #ffffff),
			color-stop(1, #ededed)
		);

		/* box-shadow: 0 0 6px rgba(0, 0, 0, 0.1) inset; */
	}
#content .grid-view{
	margin: 0 14px 14px;
}
#content .grid-view table{
	border: none;
}
#content .grid-view table.items th, #content .grid-view table.items td
{
	font-size: 0.9em;
	border: none;
	padding: 0.3em;
}
#content .grid-view table.items tr {border-bottom:1px solid #DDD;}
#content .index{clear: both; margin-top:40px;}
/*#content .grid-view{clear: both;}*/
#content .grid-view table.items td, #content .grid-view table.items th{padding:5px;}
#content .grid-view table.items {border-top:1px solid #DDD;}
/*#content .grid-view table.items th {background: #EFEFEF}*/
#content .grid-view table.items th {
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #f2f2f2),
		color-stop(0.6, #efefef)
	);
}
#content .grid-view table.items th{color:black; font-weight:bold;}
#content .grid-view table.items th a{color:black; font-weight:bold;}
#content .grid-view table.items tbody tr:hover {background: moccasin ;}
#content .grid-view table.items tbody tr:hover {background: #eaf7ff ;}
#content .grid-view table.items tr.odd {background: #fafafa;}
#content .grid-view table.items tr.even {background: #fdfdfd;}
#content .grid-view .button-column {width:73px}
/* tables end */

/*login*/
#page.loginpage {
	margin:  0;
	padding: 0;
}
#page.loginpage .content{
	padding-top:30px;
background: white url('images/background.png') 0px 1px repeat-x;
}
/*error*/
div.form .errorMessage {
	color: red;
	font-size: 0.9em;
	display: block;
	clear: both;
}
/*index*/
#counter {
  /*width: 938px;*/
  margin: 0 auto 22px;
  clear: both;
  height: 74px;
  background: url('images/counter.png') no-repeat center bottom;
  padding-top: 38px;
  font-size: 20px;
  color: #333;
  line-height: 18px;
  font-weight: bold;
  text-align: center;
}
#counter p  {
	margin: 0;
}
#counter p span {
  color: #cc0000;
  font-size: 24px;
  margin-right: 51px;
}
#counter p span.last {
  margin-right: 0;
}
div.clear{width:100%;clear:both;overflow:hidden;}
div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin:1em 0;
	border:2px solid #ddd;
	clear:both;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}
.portlet-decoration hr{display:none;}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 5px;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	margin: 0 0 15px 0;
	padding: 5px 8px;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}
.popup  {
	position: fixed;
	bottom: 10px;
	right: 20px;
	width: 300px;
	max-height: 400px;
	overflow-y: scroll;
	padding: 30px 10px 10px;
	background: white;
	border: 1px solid black;
	z-index: 9999;
	font-size:12px;
}

.popup .closePopup{display: block;position: absolute;right: 10px;top:10px;cursor:pointer;}

.row.big p{overflow:hidden;}
.row.big p label{width:100%;}
.grid-view .onpage {float: left;}
.grid-view .pager {float: right;}
/************TABS***************/
.tabs {width:100%;border-bottom: 1px solid #CECECE;height:27px;margin-bottom:20px;}
.tabs .tab{display: block; float:left; padding:5px 15px; border: 1px solid #CECECE; color:#333; border-bottom: none; background: #CECECE; margin: 0 3px;text-transform: uppercase; text-decoration: none; -webkit-border-radius: 4px 4px 0px 0px;-moz-border-radius: 4px 4px 0px 0px;-khtml-border-radius: 4px 4px 0px 0px;border-radius: 4px 4px 0px 0px;}
.tabs .tab.active{margin-bottom:-1px; top: 1px; position: relative; background: #fff; color:#000;}
.screen{display:none}
.screen.visible{display:block}

/* *** Кнопка Вверх *** */
.b-top {z-index:2600;position:fixed;right:0;bottom:10px;width:34%;margin-left:50%;opacity: 0.5;filter:alpha(opacity=50);}
.b-top:hover {opacity:1;filter:alpha(opacity=100);cursor:pointer;}
.b-top-but {
	z-index:2600;
	position:absolute;
	display:block;
	right:6px;bottom:0;
	/*margin:0 0 0 100%;*/
	padding:20px 4px 4px;
	font-size: 12px;
	font-weight: normal;
	color:white;
	background:#cdcdcd url(http://site.yandex.ru/static/css/blocks/b-j-top/b-j-top.png) no-repeat 50% 6px;
	border:1px solid #aaa;
	/*box-shadow: 0px 8px 6px -6px rgba(0,0,0,0.8);*/
	border-radius: 4px;
}
.b-top-but:hover {
	-webkit-transform: translate(0,-2px);
    -moz-transform: translate(0,-2px); 
    -o-transform: translate(0,-2px);
	-webkit-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	-moz-box-shadow: 
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
	box-shadow:
		0px 6px 4px -4px rgba(0,0,0,0.8),
		0 0 40px rgba(0, 0, 0, 0.2) inset;
}

.loginWrap {
	width:320px;
	height:210px;
	top:50%;
	left:50%;
	margin-top:-110px;
	margin-left:-170px;
	position:absolute;
	border: 1px solid #ddd;
	-webkit-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 
		0 15px 10px -10px rgba(0, 0, 0, 0.5), 
		0 1px 4px rgba(0, 0, 0, 0.3), 
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	box-shadow:
		0 15px 10px -10px rgba(0, 0, 0, 0.5),
		0 1px 4px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(0, 0, 0, 0.1) inset;
	background: #fff;
}
.loginWrap div.egida{
	background: url('images/egida.png') 0 0 no-repeat;
	width:31px;
	height:34px;
	position: absolute;
	top:4px;
	left:63px;
}
.loginWrap h1{
	text-align: center;
	font-size: 20px;
	margin-bottom: 15px;
	line-height: 29px;
	margin: 0;
	padding: 7px 20px;
	border-bottom: 1px solid #ddd;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0.5, #ffffff),
		color-stop(1, #ededed)
	);
}
.loginWrap .form{
	padding:20px;
}
.e-btn{
	border: 1px solid #333;
	font-weight: normal;
	cursor: pointer;
	text-decoration: none;
	color: #FFF;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	margin: 0;
	background: #38414C;
}
.errorMessage{color:red;}
#login-form{text-align: center;margin:10px auto;}
#login-form .row {clear:both}
#login-form .row input[type=text], #login-form .row input[type=password]{float:right; width: 160px}
#login-form .row.submit input{float:right}
.form .row {margin:5px;}
.form .row.rememberMe label {float: left;width:179px;text-align:left;}
.form .row.rememberMe input {float: left;text-align:right;margin: 2px 10px 0 0;}
.form .row label{display:block;float:left;width:100px;text-align: left;}
